package com.bham.teamwork.service;

import java.util.List;
import java.util.Map;

import com.bham.teamwork.domain.User;

/**
 * 
 * @author Federico Bacci
 * @author Alessandro Pozzer
 * @author RuJia Li 
 * 
 */

public interface IUserService {

    /**
     * save Person
     * 
     * @param person
    */
    public  void saveUser(User user);


    /**
     * get Person
     * 
     * @param id
     * @return
    */
    public  User getUser(String id);
    
    /**
     * get Person Map
     * 
     * @param id
     * @return
    */
    public  Map getUserMap(String id);

    /**
     * get all Person
     * 
     * @return
*/
    public  List<User> getUser();

    /**
     * delete Person by id
     * 
     * @param id
*/
    public  void deleteUser(String id);

}
